package com.ruoyi.riv.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 河流事件对象 river_event
 * 
 * @author ruoyi
 * @date 2024-10-23
 */
public class RiverEvent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 事件ID */
    private Long eventId;

    /** 河流ID */
    private String riverId;

    /** 河流名称 */
    @Excel(name = "河流名称")
    private String riverName;

    /** 河长ID */
    private Long leaderId;

    /** 河长名称 */
    @Excel(name = "河长名称")
    private String leaderName;

    /** 上报人用户ID */
    private Long userId;

    /** 上报人名称 */
    @Excel(name = "上报人名称")
    private String userName;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 事件级别 */
    @Excel(name = "事件级别")
    private Long level;

    /** 事件标题 */
    @Excel(name = "事件标题")
    private String title;

    /** 事件内容描述 */
    @Excel(name = "事件内容描述")
    private String content;

    /** 事件坐标json数据 */
    private String coordinate;

    /** 事件上报时间 */
    private Date eventTime;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private Long resultStatus;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String resultContent;

    /** 处理结果图例 */
    @Excel(name = "处理结果图例")
    private String resultImg;

    public void setEventId(Long eventId) 
    {
        this.eventId = eventId;
    }

    public Long getEventId() 
    {
        return eventId;
    }
    public void setRiverId(String riverId) 
    {
        this.riverId = riverId;
    }

    public String getRiverId() 
    {
        return riverId;
    }
    public void setRiverName(String riverName) 
    {
        this.riverName = riverName;
    }

    public String getRiverName() 
    {
        return riverName;
    }
    public void setLeaderId(Long leaderId) 
    {
        this.leaderId = leaderId;
    }

    public Long getLeaderId() 
    {
        return leaderId;
    }
    public void setLeaderName(String leaderName) 
    {
        this.leaderName = leaderName;
    }

    public String getLeaderName() 
    {
        return leaderName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCoordinate(String coordinate) 
    {
        this.coordinate = coordinate;
    }

    public String getCoordinate() 
    {
        return coordinate;
    }
    public void setEventTime(Date eventTime) 
    {
        this.eventTime = eventTime;
    }

    public Date getEventTime() 
    {
        return eventTime;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setResultStatus(Long resultStatus) 
    {
        this.resultStatus = resultStatus;
    }

    public Long getResultStatus() 
    {
        return resultStatus;
    }
    public void setResultContent(String resultContent) 
    {
        this.resultContent = resultContent;
    }

    public String getResultContent() 
    {
        return resultContent;
    }
    public void setResultImg(String resultImg) 
    {
        this.resultImg = resultImg;
    }

    public String getResultImg() 
    {
        return resultImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eventId", getEventId())
            .append("riverId", getRiverId())
            .append("riverName", getRiverName())
            .append("leaderId", getLeaderId())
            .append("leaderName", getLeaderName())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("type", getType())
            .append("level", getLevel())
            .append("title", getTitle())
            .append("content", getContent())
            .append("coordinate", getCoordinate())
            .append("eventTime", getEventTime())
            .append("img", getImg())
            .append("resultStatus", getResultStatus())
            .append("resultContent", getResultContent())
            .append("resultImg", getResultImg())
            .toString();
    }
}
